import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VCharts from 'v-charts'

// 引入elemnt ui
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入axios
import axios from './axios'

// 引入mock数据
require('./mock')

// 使用自定义的 axios
Vue.prototype.$axios = axios
// 使用 element UI
Vue.use(Element)
// 使用 v-chart
Vue.use(VCharts)

//

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
